<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h3 id="title">

</h3>
<div id="content">

</div>
</body>
<script src="/layui/layui.js"></script>
<script src="/js/core.util.js"></script>
<script>
    layui.use(['jquery', 'layer'], function () {
        let $ = layui.jquery;
        let layer = layui.layer
        let announcementId = CoreUtil.getUrlParam("announcementId");
        CoreUtil.sendAjax(`/study/announcement/${announcementId}`, null, (res) => {
            $("#title").text(res.title)
            $("#content").html(res.content)
        }, "GET", null, false, function (res) {
            layer.msg("没有相关数据");
        })
    })
</script>
</html>